/**
 * SearchImage.java Create on 2012-7-30     
*      
* Copyright (c) 2012-7-30 by yiming     
*      
* @author <a href="alenzhangym@hotmail.com">Yiming</a>     
* @version 1.0 
 */
package com.yimi.search;

import android.os.RemoteException;

import com.yimi.actions.SearchListener;
import com.yimi.service.BaseImageItem;
import com.yimi.service.ImageList;

/**
 * TODO ��������    
 *      
 *  
 *      
 * @author Yiming
 * @version 1.0 
 */
public interface SearchImageService {
    public void startService();
    public void queryImages(int page,String queryName) throws RemoteException;
    public void registerSearchListener(SearchListener listener);
    public void unRegisterSearchListener(SearchListener listner);
    /**
     * @param list
     */
    public void queryPreview(int page,ImageList list);
    /**
     * @param fileURL
     */
    public void queryImageFileView(String fileURL);
    public void cancelDownloadImage(String fileURL);
    /**
     * @param baseItem
     */
    public void queryPreview(BaseImageItem baseItem);
}
